package com.antler.smt.request.portal;

import com.antler.smt.request.base.BasePageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 获取收获地址实体
 *
 * @author zhangyi
 * @date 2018/3/27 16:36
 */
@ApiModel(value = "GetReceivingAddressReq", description = "获取收获地址实体")
public class GetReceivingAddressReq extends BasePageReq{

    /**
     * 国家id
     */
    @ApiModelProperty(value = "国家id", name = "countryId", required = true)
    private Integer countryId;

    /**
     * 国家名称
     */
    @ApiModelProperty(value = "国家名称", name = "countryName", required = true)
    private String countryName;

    /**
     * 省id
     */
    @ApiModelProperty(value = "省id", name = "provinceId", required = true)
    private Integer provinceId;

    /**
     * 省名称
     */
    @ApiModelProperty(value = "省名称", name = "provinceName", required = true)
    private String provinceName;


    /**
     * 城市id
     */
    @ApiModelProperty(value = "城市id", name = "cityId", required = true)
    private Integer cityId;

    /**
     * 城市名称
     */
    @ApiModelProperty(value = "城市名称", name = "cityName", required = true)
    private String cityName;

    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址", name = "detailaddress", required = true)
    private String detailaddress;

    /**
     * 收货人姓名
     */
    @ApiModelProperty(value = "收货人姓名", name = "name", required = true)
    private String name;

    /**
     * 邮编
     */
    @ApiModelProperty(value = "邮编", name = "postCode", required = true)
    private String postCode;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号", name = "mobile", allowEmptyValue = true)
    private String mobile;

    /**
     * 电话
     */
    @ApiModelProperty(value = "电话", name = "telphone", allowEmptyValue = true)
    private String telphone;

    /**
     * 是否默认
     */
    @ApiModelProperty(value = "是否默认", name = "isDefault", required = true)
    private Integer isDefault;

    private Integer isInvalid;

    public Integer getIsInvalid() {
        return isInvalid;
    }

    public void setIsInvalid(Integer isInvalid) {
        this.isInvalid = isInvalid;
    }

    public Integer getCountryId() {
        return countryId;
    }

    public void setCountryId(Integer countryId) {
        this.countryId = countryId;
    }

    public String getCountryName() {
        return countryName;
    }

    public void setCountryName(String countryName) {
        this.countryName = countryName;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getDetailaddress() {
        return detailaddress;
    }

    public void setDetailaddress(String detailaddress) {
        this.detailaddress = detailaddress;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPostCode() {
        return postCode;
    }

    public void setPostCode(String postCode) {
        this.postCode = postCode;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

}
